﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Arm2015.Models
{
    public class ContractorInfo
    {
        public int C_CONTRACTOR { get; set; }
        public int? C_GENERAL_CONTRACTOR { get; set; }
        public int? C_GENERAL_CONTRACT { get; set; }
        public bool IS_GENERAL
        {
            get
            {
                return this.C_GENERAL_CONTRACTOR != null;
            }
        }
        public List<ContractInfo> CONTRACTS { get; set; }
    }
}
